class Shop::ChatWindowsController < ShopController
  def index
    @shop_chat = ShopChat.find params[:shop_chat_id]
    @chat_windows = @shop_chat.chat_windows.order("created_at DESC").page(params[:page]).per(params[:per])
  end
  
  def show
    @shop_chat = ShopChat.find params[:shop_chat_id]
    @chat_window = ChatWindow.find params[:id]
  end
end
